using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class DrawText : DrawBase
{
    public Text text;
    public Color Color;

    public void DrawTextItem(Text_ item, int id)
    {
        gameObject.SetActive(true);
        text.text = item.str;
        text.fontSize = item.size;
        text.transform.position = new Vector3(item.x + 360, item.y + 120);
        text.color = IntToColor(GameGraphics.ColorValue);
    }
}
